<!DOCTYPE html>
<html>
<head>
<style>
div {
    height: 40px;
    width: 40px;
    background-color: navy;
    margin: 10px;
}

.zero-dotted {
    border-top: dotted green 5px;
    border-left: dotted green 5px;
}
.zero-dashed {
    border-top: dashed green 5px;
    border-left: dashed green 5px;
}
.zero-solid {
    border-top: solid green 5px;
    border-left: solid green 5px;
}
.zero-double {
    border-top: double green 5px;
    border-left: double green 5px;
}
.zero-groove {
    border-top: groove green 5px;
    border-left: groove green 5px;
}
.zero-ridge {
    border-top: ridge green 5px;
    border-left: ridge green 5px;
}
.zero-inset {
    border-top: inset green 5px;
    border-left: inset green 5px;
}
.zero-outset {
    border-top: outset green 5px;
    border-left: outset green 5px;
}

.zero-translucent {
    border-top: outset rgba(0, 255, 0, 0.4) 5px;
    border-left: outset rgba(0, 255, 0, 0.4) 5px;
}
</style>
</head>
<body>
    <p>Bug <a href="https://bugs.webkit.org/show_bug.cgi?id=90039">90039</a>: Avoid calling GraphicsContext drawing primitives for 0px borders</p>
    <p>This tests that 0px borders don't call GraphicsContext drawing functions.</p>
    <p>This tests passes if no ASSERT triggers.</p>
    <div class="zero-dotted"></div>
    <div class="zero-dashed"></div>
    <div class="zero-solid"></div>
    <div class="zero-double"></div>
    <div class="zero-groove"></div>
    <div class="zero-ridge"></div>
    <div class="zero-inset"></div>
    <div class="zero-outset"></div>
    <div class="zero-translucent"></div>
</body>
</html>
